//
//  TJAccountViewModle.h
//  TJSinaWeiBo_OC
//
//  Created by 唐后能 on 16/4/19.
//  Copyright © 2016年 itheima. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TJAcount.h"

@interface TJAccountViewModle : NSObject
// 账号模型.
@property (nonatomic, strong) TJAcount *account;

// 记录用户是否已经登录.
@property (nonatomic, assign) BOOL isLogin;

// 获取全局共享单例.
+(instancetype)shareAccountViewModle;

// 加载授权token.
-(void)loadAccess_token:(NSString*)code andCallBack:(void(^)(NSError *error)) callBack;




@end
